SftTree/OCX 7.0

SftTree.ColumnMinWidth Property

Softel vdm, Inc.

Defines the minimum width of the specified column.

Deprecated - Provided for compatibility with earlier versions only - Use Column.MinWidth instead

Syntax       

Get

VB.NET

Width = object.get_ColumnMinWidth(ByVal ColIndex As Short)  As Single

VB

Width = object.ColumnMinWidth(ByVal ColIndex As Integer)  As Single

C#.NET

float Width = object.get_ColumnMinWidth(short ColIndex);

VC++

float Width = object->ColumnMinWidth[short ColIndex];
float Width = object->GetColumnMinWidth(short ColIndex);

C

HRESULT object->get_ColumnMinWidth(short ColIndex, float* Width);

Delphi

Width := object.ColumnMinWidth[ColIndex : Smallint]   : Single;

Put

VB.NET

object.set_ColumnMinWidth(ByVal ColIndex As Short, ByVal Width As Single)

VB

object.ColumnMinWidth(ByVal ColIndex As Integer) = Width  As Single

C#.NET

void object.set_ColumnMinWidth(short ColIndex, float Width);

VC++

float object->ColumnMinWidth[short ColIndex] = Width;
void object->PutColumnMinWidth(short ColIndex, float Width);

C

HRESULT object->put_ColumnMinWidth(short ColIndex, float Width);

Delphi

object.ColumnMinWidth[ColIndex : Smallint] := Width   : Single;

object

A SftTree object.

ColIndex

The zero-based column number.

Width

Defines the minimum width of the specified column.  The units used depend on the container (Visual Basic, Visual C++, etc.) and the coordinate system used.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Column.MinWidth instead

The ColumnMinWidth property defines the minimum width of the specified column.

The ColumnMinWidth property is used to change the minimum width of a column.  The minimum column width must be less than or equal to the column's defined width.  The column width can be defined using the Column.Width property.  The minimum column width is only used to prevent the user from resizing the column and making it smaller than the defined minimum width.

See Also  SftTree Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com